package com.vhuomai.order.mapper;

import com.vhuomai.mybatis.mapper.auto.AutoMapper;
import com.vhuomai.order.entity.BaseCart;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CartMapper extends AutoMapper <BaseCart, Integer> {
    List <BaseCart> findByUserId(@Param("userId") Integer userId);
}
